import 'flutter_contacts_platform_interface.dart';

class FlutterContacts {
  Future<String?> getPlatformVersion() {
    return FlutterContactsPlatform.instance.getPlatformVersion();
  }

  Future<bool> insertContact({required String name, required String phone}) {
    return FlutterContactsPlatform.instance
        .insertContact(name: name, phone: phone);
  }
}
